<include file="public@header" />
</head>
<body>	
	<style>
		/*table 单元格显示规定字数，超出的省略号*/
		.circle {
			    width: 10%;
			    overflow: hidden;   /*超出隐藏*/
			    white-space: nowrap; /*强制在同一行显示*/
			    text-overflow: ellipsis; /*省略号*/
				}
				table>thead>tr>th{
			text-align: left;
			overflow: hidden;   /*超出隐藏*/
		}
		</style>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('work/workplace_control_index')}">作业场所风险管控清单</a></li>
			<li><a href="{:url('work/workactive_control_index')}">添加作业场所风险管控清单</a></li>
		</ul>
		<form class="well form-inline margin-top-20" method="get" 
			  action="{:url('work/workplace_control_index')}">
	          作业场所名称:
	        <input type="text" class="form-control" name="checkItem" style="width: 180px;" value="" placeholder="请输入作业场所名称">           
	        <input type="submit" class="btn btn-primary" value="搜索" />
	        <a class="btn btn-danger" href="{:url('User/index')}">清空</a>
	    </form>
		<form action="" method="post" class="margin-top-20">
			<table class="table table-hover table-bordered"
			style="word-break:break-all; word-wrap:break-all;table-layout:fixed;">
				<thead>
					<tr>
						<th style="width: 3%;">序号</th>
						<th style="width: 8%;">检查项目</th>
						<th style="width: 8%;">不符合标准情况</th>
						<th style="width: 8%;">事故类型</th>
						<th style="width: 8%;">控制措施</th>
						<th style="width: 4%;">参数L</th>
						<th style="width: 4%;">参数S</th>
						<th style="width: 4%;">参数R</th>
						<th style="width: 7%;">风险等级</th>
						<th style="width: 7%;">管控单位</th>
						<th style="width:8%;">管控责任人</th>
						<th style="width: 7%;">备注</th>
						<th width="180">{:lang('ACTIONS')}</th>
					</tr>
				</thead>
				<tbody>
					<foreach name="data" item="vo">
					<tr>
						<td>{$vo.ID}</td>
						<td>{$vo.checkItem}</td>
						<td class="circle" title="{$vo.situation}">{$vo.situation}</td>
						<td class="circle" title="{$vo.accidentStand}">{$vo.accidentStand}</td>
						<td class="circle" title="{$vo.accidentMeasures}">{$vo.accidentMeasures}</td>
						<td>{$vo.parameterL}</td>
						<td>{$vo.parameterS}</td>
						<td>{$vo.parameterR}</td>
						<td>{$vo.dangerLevel}</td>
						<td>{$vo.controlUnit}</td>
						<td>{$vo.controlPerson}</td>
						<td>{$vo.memos}</td>
						<td>
							<a class="btn btn-xs btn-primary" href="{:url('equipment/equipmentEdit',array('ID'=>$vo['ID']))}">{:lang('EDIT')}</a>
							<!--js-ajax-delete-->
							<a class="btn btn-xs btn-danger "
							 href="{:url('equipment/equipmentDelete',array('ID'=>$vo['ID']))}">{:lang('DELETE')}</a>
						</td>
					</tr>
					</foreach>
				</tbody>
			</table>
			<div class="pagination">{$page}</div>
		</form>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>